const Mock=require('mockjs')
// 4.正确mock数据12:12
module.exports=Mock.mock({
    'list|10':[{
        url:'@image(50x50,@color)',
        name:'@cname',
        title:'@ctitle(8)',
        isFinite:false,
        id:'@id',
        'children|0-5':[{
            // 12.正确mock详情评论的数据，渲染详情评论的列表12:12
            url:'@image(50x50,@color)',
            name:'@cname',
            title:'@ctitle',
            id:'@id'
        }]
    }]
})